package com.sky.business.sys.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class OnvifParam {

    @Schema(description = "设备IP")
    @NotBlank(message = "设备IP不能为空")
    private String ip;

    @Schema(description = "设备端口")
    @NotBlank(message = "设备端口不能为空")
    private Integer port;

    @Schema(description = "onvif用户名")
    @NotBlank(message = "onvif用户名不能为空")
    private String username;

    @Schema(description = "onvif密码")
    @NotBlank(message = "onvif密码不能为空")
    private String password;
}
